#ifndef MYPUSHBUTTON_H
#define MYPUSHBUTTON_H
#include <QPushButton>
class MyPushButton : public QPushButton
{
    Q_OBJECT
public:
    MyPushButton(QString normalImg, QString pressImg = "");
    QString normalImgPath;
    QString pressImgPath;
    void zoom1();//弹跳特效，向下跳
    void zoom2();//弹跳特效，向上跳
    /*void mousePressEvent(QMouseEvent* e);
    void mouseReleaseEvent(QMouseEvent* e);//重写按钮按下和释放
*/
signals:
};
#endif // MYPUSHBUTTON_H
